HS_CLOSE_PE_RELAY

HS_CLOSE_PE_RELAY

   
SYNTAX:

        HS_CLOSE_PE_RELAY(PINS , WAIT=x  [, MODE] [, ALL_SITE_ON/FAIL_SITE_ONLY/PLAN_FAIL_SITE_ONLY]  );

        NOTE: The argument which can use _C_Variable (PINS  , WAIT=x)

DESCRIPTION:

        Set the assigned PE relay group on(close) or off(open).

        There is no wait time after relay on or off by tester system.

        User have to add WAIT time in test program by themselves in order to avoid hot switching and unstable spike voltage.

        In compile,user can select "Auto Add Relay Wait Time Param in PRG"to add Default wait time in PRG by system automatically. 

        If user have already taken WAIT time into consideration by themself,please unselect it.

        

REQUIRED ARGUMENT:

        PARA1: PINS

            PIN_GROUP_NAME or PIN_NAME or _C_Variable

        PARA2: WAIT=x

            Wait time to next instruction.

            x range:0s-200s or parameter name; Unit: s or ms or us; 

            Resolution: 10us

       

OPTIONAL ARGUMENT:

        PARA: MODE

            CONNECT_MODE/DISCONNECT_MODE/NORMAL_MODE

            CONNECT_MODE: Close assigned relay group and the previous closed relay keep connected.

            DISCONNECT_MODE: Open assigned relay group and previous closed relay keep connected.

            NORMAL_MODE: Close assigned relay group and others relay disconnected.

            Default: NORMAL_MODE

        PARA: ALL_SITE_ON/FAIL_SITE_ONLY/PLAN_FAIL_SITE_ONLY

            ALL_SITE_ON: Set driver executed on every site, even on the fail site.

            FAIL_SITE_ONLY: Driver executed on the fail site only.

            PLAN_FAIL_SITE_ONLY: Driver executed on the fail site ,it will occurs at this plan Fail site only.

            Default: Driver executed on the pass site only.

        

        

EXAMPLE:

        HS_CLOSE_PE_RELAY(ALL_PINS , WAIT=3mS);

        WAIT(1MS);

        HS_CLOSE_PE_RELAY(ALL_PINS, WAIT=3mS, DISCONNECT_MODE);

        WAIT(1MS);

        HS_CLOSE_PE_RELAY(ALL_PINS, WAIT=3mS, CONNECT_MODE);

        WAIT(1MS);